<span class="flex items-center">
  <span class="h-px flex-1 bg-gray-300"></span>

  <span class="shrink-0 px-4 text-gray-900">Title goes here</span>

  <span class="h-px flex-1 bg-gray-300"></span>
</span>
